<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网站后台管理系统</title>
<meta name="keywords" content="">
<meta name="description" content="">
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="css/ie6.css"/>
<![endif]-->
<link rel="stylesheet" type="text/css"  href="../../../../public/layui/css/layui.css">
<link href="../../../../public/admin/css/style_v2.0.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/style_v2.0.css" />
<script type="text/javascript" src="__PUBLIC__/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/layui/layui.js"></script>
</head>
<body>
<div class="position mt10">当前位置：<a href="{:U('Index/main')}">后台首页</a> > 登录日志</div>
<div id="container">
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
  <legend>登录日志</legend>
</fieldset>
  <div class="layui-form" style="background-color:#FFFFFF;">
	<table class="layui-table" id="table">
    <form id="form2" name="form2" method="post" action="{:U('Admin/User/admin_dellog')}"  class="layui-form layui-form-item">  
     <volist name="logs" id="row">
    <tr>
      <td width="153" align="center"><input name="id[]" type="checkbox"  title=""  lay-skin="primary" id="id[]" value="{$row.id}" /></td>
      <td width="153" align="center" height="22px">{$row.id}</td>
      <td width="907">{$row.username}</td>
      <td width="907" height="21px">{$row.ip}</td>
      <td width="907">{$row.content}</td>
      <td width="907">{$row.add_time|date="Y-m-d H:i:s",###}</td>
      <td width="57" align="center"><a href="{:U('Admin/User/admin_dellog',array('id' => $row['id']))}" onClick="return checkConfirm('您确认删除记录?')" class="layui-btn layui-btn-danger  layui-btn-small">删除</a></td>
    </tr>
    </volist>
    <tr>
      <td align="center">&nbsp;</td>
      <td colspan="5">
      <div style="padding-left:20px;">  
         <input type="button" value="全选" name="selectall" class="layui-btn" />
         <input type="button" value="反选" name="selectno" class="layui-btn "/>
         <button  name="btnDel" lay-submit="" lay-filter="btnDel" class="layui-btn layui-btn-danger" />删除</button>
      </div>    </td>
      <td align="center">&nbsp;</td>
    </tr>
   </form>
    </table>
  </div>
  <div class="c"></div>
  <div id="pages">{$page}</div>
</div>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
</body>
</html>